﻿/////////////////////////////////////////////////////////////////////////////////////////////
// <copyright file="MailUserScripts.cs" company="Microsoft Corporation">
//     Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
/////////////////////////////////////////////////////////////////////////////////////////////

namespace Microsoft.LiveAtEdu.Samples.Powershell.OnPremise
{
    /// <summary>
    /// Script names used by mailuser.
    /// </summary>
    internal static class MailUserScripts
    {
        /// <summary>
        /// Name of script used to create on-premise exchange mailuser.
        /// </summary>
        internal const string CreateOnPremiseExchangeMailUserScript =
            @"New-MailUser -Name '{0}' -FirstName '{1}' -LastName '{2}' -ExternalEmailAddress '{3}' -UserPrincipalName '{3}' -Password (ConvertTo-SecureString {5} -AsPlainText -Force) -OrganizationalUnit '{6}'
            Set-MailUser '{0}' -CustomAttribute1 '{7}' -CustomAttribute2 '{3}' Set-User '{0}' -Department '{8}' -Company '{9}'";
    }
}
